Use the following syntax to specify the writeOnEnter attribute:
writeOnEnter="boolean"
where boolean is a Boolean value: true | false
If you specify false, the application writes the state value to the data source as soon as a new state is highlighted.